/**
 * 页面跳转的记录
 */

import * as types from '../_types/pageTransition';

export function setScanPageFrom(page: string) {
    return {
        type: types.SET_SCAN_PAGE_FROM,
        payload: page
    }
}

export function setTransactionPageFrom (page: string) {
    return {
        type: types.SET_TRANSACTION_PAGE_FROM,
        payload: page
    }
}